<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/5/28
 * Time: 19:32
 */

namespace app\admin\model;


class Reservation extends Base
{
    protected $autoWriteTimestamp = 'datetime';

    public function course()
    {
        return $this->belongsTo('Course');
    }

    public function authen()
    {
        return $this->belongsTo('Authen');
    }
}